package study.springboot.redis.support.jedis;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class JedisProperties {

    /*  */
    private String host = "127.0.0.1";
    /*  */
    private int port = 6379;
    /*  */
    private int database = 0;
    /*  */
    private String password;
    /*  */
    private int timeout ;
    /*  */
    private String clientName;

    private boolean fairness = true;

    /*  */
    private int maxTotal = 8;
    /*  */
    private int maxIdle = 8;
    /*  */
    private int minIdle = 0;
    /*  */
    private int maxWait = 0;
    /*  */
    private boolean blockWhenExhausted = true;

    /*  */
    private boolean testOnCreate = false;
    /*  */
    private boolean testOnBorrow = false;
    /*  */
    private boolean testOnReturn = false;
    /*  */
    private boolean testWhileIdle = false;
}
